<html>
<head>
    <script src="vue.js">
    </script>
</head>

<body>
    <div id="app">
        <p>
            {{msg}}当前页面归你管理
        </p>
        <div v-text="msg"></div>
        <div v-html="msg"></div>
        <button value="按钮" v-bind:title="mytitle">{{mytitle}}</button>
        <input type="button" value="按钮" v-bind:title="mytitle" />
    </div>
    <script>
        var vue = new Vue({
            el: '#app',
            data: {
                msg: "hello  Vue.js",
                mytitle:"自定义title"
            }
        });
    </script>
</body>

</html>